<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Number')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-number" class="form-control" name="row[number]" type="text" value="{$row.number|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('唯一标识')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-code" class="form-control" name="row[code]" type="text" value="{$row.code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remark" class="form-control" name="row[remark]" type="text" value="{$row.remark|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">出库单过滤步骤:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                <label ><input  name="row[sale_status]" type="radio" value="1" {if condition="$row['sale_status'] == 1"} checked{else /} {/if} /> 开启</label>
                <label ><input  name="row[sale_status]" type="radio" value="0"  {if condition="$row['sale_status'] == 0"} checked {else /} {/if} /> 关闭</label>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">销售单过滤步骤:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                <label ><input  name="row[checkout_status]" type="radio" value="1" {if condition="$row['checkout_status'] == 1"} checked{else /} {/if} /> 开启</label>
                <label ><input  name="row[checkout_status]" type="radio" value="0" {if condition="$row['checkout_status'] == 0"} checked{else /} {/if} /> 关闭</label>
            </div>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
